package atm.com.util;

import io.swagger.models.auth.In;

import java.math.BigDecimal;

/**
 * AdminController class
 * @author di zhang
 * @date 2021/8/24
 */
public class CommonUtil {
    /**用户*/
    public final String USER="user";
    /**银行卡*/
    public final String BANK_CARD="banlcard";
    /**提款机*/
    public final String CASH_DISPENSER="Cashdispenser";
    public final String STATE_BALANCE_INSUFFICIENT="取款失败,账户余额不足！";
    public final String STATE_BALANCE_FULL="存款失败,账户余额已满！";
    public final String STATE_TIPS="密码错误,三次密码错误！自动冻结!";
    public final String STATE_BALANCE_CASH_DISPENSER="取款失败,提款机余额不足";
    public final String STATE_BALANCE_CASH_DISPENSER_FULL="存款失败,提款机余额已满";
    public final String STATE_SUCCESS_SAVE="存款成功";
    public final String STATE_FAIL_SAVE="存款失败";
    public final String STATE_SUCCESS_TAKE="取款成功";
    public final String STATE_FAIL_TAKE="取款失败";
    public final String STATE_LOGOUT="退出成功";
    public final String STATE_FROZEN="账号/银行卡 已冻结";
    public final String STATE_NOT_FOUNT="账号查找不到";



    public static  final  class status{
        public static final String NORMAL= "true";
        public static final String ABNORMAL= "false";
    }

    public static  final class operate{
        public static final String LOGIN="登录";
        public static final String LOGIN_OUT="登出";
        public static final String DEPOSIT="存款";
        public static final String WITHDRAW_MONEY="取款";
    }
    public static final class errors{
        public static final String NUMBER="错误次数";
        public static final String BANK_CARD="银行卡";
        public static final Integer FREQUENCY=3;
    }

}
